<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录页面</title>

    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <script src="/js/jquery-3.6.0.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/list.js"></script>
    <style>
        b{
            font-weight: bolder;
            color: red;
        }
        body{
             background:url("/image/background.png") no-repeat center center;   /*加载背景图*/   /* 背景图不平铺 */
             background-size:cover;  /* 让背景图基于容器大小伸缩 */
             background-attachment:fixed;        /* 当内容高度大于图片高度时，背景图像的位置相对于viewport固定 */
             background-color:#CCCCCC;   /* 设置背景颜色，背景图加载过程中会显示背景色 */
         }
        .button {
            -webkit-transition-duration: 0.4s; /* Safari */
            transition-duration: 0.4s;
        }

        .button:hover {
            color: white;
        }
        </style>
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.19.1/dist/bootstrap-table.min.css">
</head>
<body>
<!--<div class="container">
    <div class="row">
        <div class="col-md-12 " style="text-align: center">
            <form class="form-horizontal" method="post" action="#">
                &lt;!&ndash; 表单区域&ndash;&gt;
                <fieldset>
                    &lt;!&ndash;表单主题&ndash;&gt;
                    <legend>用户注册</legend>
                    &lt;!&ndash; 每一个form-group都可以自定义布局&ndash;&gt;
                    <div class="form-group">
                        &lt;!&ndash; label表示文字提示标签,可以通过表单的组建的id提示&ndash;&gt;
                        <label class="col-md-4 control-label" for="username">用户名称</label>
                        <div class="col-md-4">
                            <input type="text" class="form-control" id="username" name="username" placeholder="用户名">
                        </div>
                    </div>

                    <div class="form-group">
                        &lt;!&ndash; label表示文字提示标签,可以通过表单的组建的id提示&ndash;&gt;
                        <label class="col-md-4 control-label" for="password">用户密码</label>
                        <div class="col-md-4">
                            <input type="password" class="form-control" id="password" name="password" placeholder="密码">
                        </div>
                    </div>
                    <div class="form-group">
                        &lt;!&ndash; label表示文字提示标签,可以通过表单的组建的id提示&ndash;&gt;
                        <label class="col-md-4 control-label" for="con">确认密码</label>
                        <div class="col-md-4">
                            <input class="form-control" id="con" type="password"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-4 control-label" for="sex">性别</label>
                        <div class="col-md-4" id="sex">
                            <div class="radio-inline">
                                <input type="radio" name="sex" id="sex-man" value="man" checked/>男
                            </div>
                            <div class="radio-inline">
                                <input type="radio" name="sex" id="sex-woman" value="woman"/>女
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-4 control-label" for="lock">锁定状态</label>
                        <div class="col-md-4">
                            <label class="checkbox-inline">
                                <input type="checkbox" value="lock" name="city" id="lock"/>锁定
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-4" for="city">所在城市</label>
                        <div class="col-md-4">
                            <select id="city" class="form-control">
                                <option value="中国">中国</option>
                                <option value="outher">其他</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                            <input class="btn btn-primary" type="submit" value="提交"/>
                            <input class="btn btn-warning" type="reset" value="重置"/>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
    <div>-->

<div class="container">
    <div class="row">
        <div class="col-md-12 " style="text-align: center;margin-top: 20%">
            <form class="form-horizontal" method="post" action="#">
                <!-- 表单区域-->
                <fieldset>
                    <!--表单主题-->
                    <legend style="font-weight: bold">教务系统</legend>
                    <!-- 每一个form-group都可以自定义布局-->
                    <div class="form-group">
                        <!-- label表示文字提示标签,可以通过表单的组建的id提示-->
                        <label class="col-md-4 control-label" for="username"></label>
                        <div class="col-md-4">
                            <input type="text" class="form-control form-inline" id="username" style="text-align: center;" name="username" placeholder="User Name">
                        </div>
                    </div>

                    <div class="form-group">
                        <!-- label表示文字提示标签,可以通过表单的组建的id提示-->
                        <label class="col-md-4 control-label" for="password"></label>
                        <div class="col-md-4">
                            <input type="password" class="form-control form-inline" id="password" style="text-align: center" name="password" placeholder="密码">
                        </div>
                    </div>
                    <!--<div class="form-group">
                        <label class="col-md-4 control-label" for="teacher"></label>
                        <div class="col-md-4">
                            <div class="radio-inline">
                                <input type="radio" name="identity" id="teacher" value="teacher" checked/>教师
                            </div>
                            <div class="radio-inline">
                                <input type="radio" name="identity" id="student" value="student"/>学生
                            </div>
                        </div>
                    </div>-->
                    <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                            <button type="button" class="btn btn-default button" style="margin-right: 5px; font-weight: bolder; border-radius: 12px; background-color:#939393" onclick="login();">登录</button>
                            <button type="button" class="btn btn-default button" style="margin-left: 5px; font-weight: bolder; border-radius: 12px;background-color:#939393" onclick="register();">注册</button>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
</div>

<!--
<div class="container-fluid">
        <div class="panel panel-default">
            <div class="panel-heading">Panel heading without title</div>
            <div class="panel-body">

                <form>
                    <div class="form-group">
                            <label for="username">用户名</label>
                            <input type="text" class="form-control" id="username" name="username" placeholder="用户名">
                    </div>
                    <div class="form-group">
                        <label for="password">密码</label>
                        <input type="password" class="form-control" id="password" name="password" placeholder="密码">
                    </div>
                    <button type="button" class="btn btn-default" onclick="login();">登录</button>
                </form>
            </div>
        </div>
    </div>
-->

</body>

</html>